package com.liu.fresh.mapper;

import java.util.List;
import java.util.Map;

import com.liu.fresh.entity.GoodsInfo;


public interface IGoodsInfoMapper {
	/**
	 * 查询所有商品信息
	 * @return
	 */
	public List<GoodsInfo> findAll();
	
	public GoodsInfo find(Map<String, String> map);
	
	public List<GoodsInfo> findByTno(Map<String, Object> map);
	
	public Integer updateBal(Map<String, Object> map);

	public List<GoodsInfo> finds();
	
	public int addGood(Map<String, Object> map);

	public List<GoodsInfo> findgoods();

	public int del(Map<String, Object> map);

	public int getTotal(Map<String, Object> map);

}
